package com.itlong.cloud.property.service;

import com.itlong.cloud.POJO.DTO.common.NettyServiceDTO;
import com.itlong.cloud.POJO.DTO.property.CalculateCostsDTO;
import com.itlong.cloud.POJO.DTO.property.CarIssueDTO;
import com.itlong.cloud.POJO.DTO.property.PaymentParkingCostsDTO;

import java.io.IOException;

/**
 * <desc>
 *      物业-智慧停车-http业务交互接口
 * </desc>
 *
 * @createDate 2018/11/11
 */
public interface IParkCarHttpService {
    /**
     * <desc>
     *      停车算费
     * </desc>
     *
     * @param dto
     * @return 金额
     * @author Jiaqi.X
     * @createDate 2018/11/11
     */
    NettyServiceDTO queryParkCarFee(CalculateCostsDTO dto) throws IOException;

    /**
     * <desc>
     *      缴费通知
     * </desc>
     *
     * @param dto
     * @return
     * @author Jiaqi.X
     * @createDate 2018/11/12
     */
    NettyServiceDTO paymentParkingFee(PaymentParkingCostsDTO dto) throws IOException;

    /**
     * <desc>
     *      缴费通知
     * </desc>
     *
     * @param dto
     * @return
     * @author Jiaqi.X
     * @createDate 2018/11/12
     */
    public NettyServiceDTO carIssue(CarIssueDTO dto) throws IOException;
}
